import 'package:color_dart/RgbaColor.dart';
import 'package:flutter/material.dart';

class PaperItem extends StatelessWidget {
  const PaperItem({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.only(bottom: 19, top: 16),
      decoration: BoxDecoration(
          border:
              Border(top: BorderSide(width: 1, color: rgba(235, 235, 235, 1)))),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Container(
            width: 300,
            padding: EdgeInsets.only(bottom: 10),
            child: Text('基于多源卫星遥感大数据的信息提取应用研究',
                style: TextStyle(
                    color: rgba(68, 68, 68, 1),
                    fontSize: 15,
                    fontWeight: FontWeight.w600,
                    height: 1.1),
                softWrap: true,
                textAlign: TextAlign.left,
                overflow: TextOverflow.ellipsis,
                maxLines: 1),
          ),
          Container(
            width: 339,
            padding: EdgeInsets.only(bottom: 15),
            child: Text('作者：弗朗兹斯卡·鲁道夫（Franziska Rudolph）、弗朗兹斯卡·鲁…',
                style: TextStyle(
                    color: rgba(163, 163, 163, 1), fontSize: 11, height: 1.1),
                softWrap: true,
                textAlign: TextAlign.left,
                overflow: TextOverflow.ellipsis,
                maxLines: 1),
          ),
          Container(
            width: 339,
            padding: EdgeInsets.only(bottom: 15),
            child: Text(
                '积极发展“中国芯”是突破国际封锁，保障我 国经济发展与安全的核心需积极发展“中国芯”是突破国际封锁，保障我保障我…',
                style: TextStyle(color: rgba(68, 68, 68, 1), fontSize: 14),
                softWrap: true,
                textAlign: TextAlign.left,
                overflow: TextOverflow.ellipsis,
                maxLines: 3),
          ),
          Container(
            child: Row(
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: [
                Container(
                  child: Row(
                    children: [
                      Container(
                          width: 30,
                          height: 17,
                          alignment: Alignment.center,
                          decoration: BoxDecoration(
                              border: Border.all(
                                  width: 1, color: rgba(42, 125, 250, 1))),
                          child: Text('文章',
                              style: TextStyle(
                                  color: rgba(42, 125, 250, 1),
                                  fontSize: 11,
                                  height: 1.1))),
                                  Padding(padding: EdgeInsets.only(left:6)),
                      Container(
                          width: 54,
                          height: 17,
                          alignment: Alignment.center,
                          decoration: BoxDecoration(
                              border: Border.all(
                                  width: 1, color: rgba(235, 101, 13, 1))),
                          child: Text('全文可读',
                              style: TextStyle(
                                  color: rgba(235, 101, 13, 1),
                                  fontSize: 11,
                                  height: 1.1)))
                    ],
                  ),
                ),
                Container(
                    child: Row(children: [
                  Row(children: [
                    Image.asset(
                      'lib/assets/images/eye.png',
                      fit: BoxFit.cover,
                      width: 12,
                      height: 9,
                    ),
                    Padding(padding: EdgeInsets.only(left: 4)),
                    Text('300',
                        style: TextStyle(
                            color: rgba(163, 163, 163, 1), fontSize: 11))
                  ]),
                  Padding(padding: EdgeInsets.only(left: 13)),
                  Row(children: [
                    Image.asset(
                      'lib/assets/images/message2.png',
                      fit: BoxFit.cover,
                      width: 12,
                      height: 9,
                    ),
                    Padding(padding: EdgeInsets.only(left: 4)),
                    Text('200',
                        style: TextStyle(
                            color: rgba(163, 163, 163, 1), fontSize: 11))
                  ]),
                ]))
              ],
            ),
          )
        ],
      ),
    );
  }
}
